package com.franklin.ideaplugin.api.beans;

import com.alibaba.fastjson2.annotation.JSONType;
import com.franklin.ideaplugin.api.json.fastjson2.EnumClassSerializer;
import com.franklin.ideaplugin.api.json.fastjson2.PresentableJsonBeanSerializer;
import lombok.Data;

import java.util.LinkedHashMap;

/**
 * 子类
 *
 * @author Ye Junhui
 * @since 2023/7/14
 */
@Data
@JSONType(serializer = PresentableJsonBeanSerializer.class)
public class ChildClass implements IPresentableJsonBean{

    /**
     * 父类名
     */
    private String superClassName;

    /**
     * 子类名
     */
    private String childClassName;

    /**
     * 子类值
     */
    private String childValue;

    @Override
    public String presentableString() {
        return this.childValue;
    }
}
